using System;
using System.Xml.Serialization;

namespace DOJ.LEISP.LEXS
{
	/// <summary>
	/// Base class for request and response messages.
	/// </summary>
	/// <remarks>
	/// This class provides a base to assist with proper serialization of XML namespaces using the common prefixes.
	/// </remarks>
	public abstract class RequestResponseBase
	{

		/// <summary>
		/// Public field which contains the XML Namespaces that the XML Serializer will use.
		/// </summary>
		[XmlNamespaceDeclarations]
		public XmlSerializerNamespaces xmlns;

		/// <summary>
		/// Initializes a new instance of the RequestResponseBase class.
		/// </summary>
		public RequestResponseBase()
		{
			xmlns = Utilities.XmlNamespaceUtility.InitializeLexsNamespaces();
		}
	}
}
